package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.player.UserMallBuyCount;

import java.util.Map;

public class UserMallBuyBussiness {

	public static Map<Integer, UserMallBuyCount> getUserMallBuyCountMap(long userId) {
		return DaoHelper.getUserMallBuyCountImpl().getUserMallBuyCountMap(userId);
	}

	public static boolean addUserMallBuyCount(UserMallBuyCount buyCount) {
		return DaoHelper.getUserMallBuyCountImpl().add(buyCount);
	}

	public static boolean updateUserMallBuyCount(UserMallBuyCount buyCount) {
		return DaoHelper.getUserMallBuyCountImpl().update(buyCount);
	}
}
